package com.xique.park.constant;

public interface DictConstant {

    String STATUS_NORMAL = "normal";
    String STATUS_PAUSE = "pause";

    String STATUS_DELETE = "delete";

    /**
     * 是/否
     */
    String YES = "Y";
    String NO = "N";

    /**
     * 设备在线状态
     */
    String DEVICE_STATUS_ONLINE = "online";
    String DEVICE_STATUS_OFFLINE = "offline";

    /**
     * 普通控制板处理消息类型
     */
    String CONTROL_MSG_TYPE_ALL = "all";
    String CONTROL_MSG_TYPE_LED = "led";
    String CONTROL_MSG_TYPE_VOICE = "voice";

    /**
     * 通道工作模式
     */
    String LANE_MODEL_STANDARD = "1";
    String LANE_MODEL_GROUND = "2";
    String LANE_MODEL_SECURITY = "3";

    /**
     * 车型大小
     */
    Long CAR_SIZE_TYPE_SMALL = 1L;
    Long CAR_SIZE_TYPE_BIG = 2L;
    Long CAR_SIZE_TYPE_SUPERBIG = 3L;
    Long CAR_SIZE_TYPE_MOTOR = 4L;
    Long CAR_SIZE_TYPE_OTHER = 5L;


    /**
     * 车辆管理类型大类
     */
    //数据库字段
    String CAR_MNGTYPE_ALL = "0";
    String CAR_MNGTYPE_FIXED = "1";
    String CAR_MNGTYPE_REGIST = "2";
    String CAR_MNGTYPE_VISITOR = "3";
    String CAR_MNGTYPE_MEMBER = "4";
    //普通临停车
    String CAR_MNGTYPE_TEMP = "5";
    //新能源临停车
    String CAR_MNGTYPE_XNY_TEMP = "6";
    //共享车
    String CAR_MNGTYPE_SHARE_TEMP = "7";

    /**
     * 通道类型
     */
    String LANE_TYPE_ENTRY = "1";
    String LANE_TYPE_EXIT = "2";
    String LANE_TYPE_INSIDEIN = "3";
    String LANE_TYPE_INSIDEOUT = "4";

    /**
     * 车辆通行权限类型
     */
    String PASS_AUTH_AUTO = "1";
    String PASS_AUTH_MAN = "3";
    String PASS_AUTH_FORBID = "2";

    /**
     * 通道显示屏每行显示内容类型
     */
    String LED_TYPE_REMAIN_SPACES = "1";
    String LED_TYPE_PLATE = "2";
    String LED_TYPE_MNGTYPE = "3";
    String LED_TYPE_CUSTOM = "4";
    String LED_TYPE_MNGTYPE_PLATE = "5";
    String LED_TYPE_MNGTYPE_CUSTOM = "6";
    String LED_TYPE_BIZ = "7";
    String LED_TYPE_STOPTIME = "8";
    String LED_TYPE_FEE = "9";
    String LED_TYPE_FEE_STOPTIME = "10";
    String LED_TYPE_SYSTIME = "11";

    /**
     * 订单支付状态
     */
    //待支付
    String ORDER_UNPAID = "1";
    //已支付
    String ORDER_PAID = "2";
    //正在支付中
    String ORDER_PAYING = "3";
    //取消支付
    String ORDER_INVALID = "4";
    //无需支付
    String ORDER_NONEED_PAID = "5";

    String ORDER_CASH_PAID = "6";

    String ORDER_FREE = "7";

    /**
     * 订单交易类型
     */
    //月卡车续费
    String ORDER_TRANS_TYPE_1 = "1";
    //余额充值
    String ORDER_TRANS_TYPE_2 = "2";
    //临停缴费
    String ORDER_TRANS_TYPE_3 = "3";


    /**
     * 计费规则类型
     */
    //按次数收费
    String CHARGE_RULE_ONE = "1";
    //按时间段收费
    String CHARGE_RULE_TWO = "2";
    //按工作日/非工作日收费
    String CHARGE_RULE_THREE = "3";
    //简易计时收费
    String CHARGE_RULE_FOUR = "4";
    //按统一时间收费
    String CHARGE_RULE_FIVE = "5";

    /**
     * 停车订单流水状态
     */
    //已离场
    String PARKING_OUT = "out";
    //在场
    String PARKING_ON = "on";

    /**
     * 优惠券状态
     */
    //优惠券已使用
    String COUPON_USED = "used";
    //优惠券失效
    String COUPON_EXPIRED = "expired";
    //优惠券有效
    String COUPON_AVAILABLE = "available";

    /**
     * MQTT服务的key
     * 根据不同的key对应不同的mqtt服务
     */
    String MQTT_KEY_JZY = "mqtt_jzy";
    String MQTT_KEY_BAIDU = "mqtt_baidu";

    /**
     * 支付配置类型
     */
    String PAY_ETC = "etc";
    String PAY_PP = "pp";
    String PAY_YZ = "yz";
    String PAY_ICBC = "icbc";

    /**
     * 支付方式
     */
    //p云
    String PAY_TYPE_PP = "0";
    //支付宝
    String PAY_TYPE_ZFB = "4";
    //微信
     String PAY_TYPE_WX = "8";
    //现金
     String PAY_TYPE_CASH = "1";
    //ETC扣费
     String PAY_TYPE_ETC = "2";
    //从车辆余额扣费
     String PAY_TYPE_BALANCE = "3";

    /**
     * 挂到通道下面的除摄像机以外的其他设备
     */
    //设备类型-ETC
     String SUBDEV_TYPE_ETC = "etc";
    //设备类型-扫描仪
     String SUBDEV_TYPE_SCANNER = "scanner";
    //设备类型-剩余车位屏
     String SUBDEV_TYPE_REMAIN_DISPLAY = "remain_display";

     String SUBDEV_TYPE_SLAVE_IPC = "slave_ipc";
}
